package strategy;

/**
 * Created by longshihan on 2017/7/4.
 */
public class StrategyB implements Strategyy {

    @Override
    public double cost(double num) {
        if (num>=200){
            return num-50;
        }
        return num;
    }
}
